package com.dlc.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dlc.shop.bean.model.ImAutoReply;
import org.apache.ibatis.annotations.Param;

/**
 * 客服自动回复
 * @author TRACK
 */
public interface ImAutoReplyMapper extends BaseMapper<ImAutoReply> {

    /**
     * 根据店铺id获取自动回复信息
     * @param shopId
     * @return
     */
    ImAutoReply getByShopId(@Param("shopId") Long shopId);

    /**
     * 更新内容
     * @param imAutoReply
     */
    void updateContent(@Param("imAutoReply") ImAutoReply imAutoReply);
}
